/* 商品分类与焦点图 */
.wrapper .banner {
    position: relative;
    cursor: pointer;
}

.wrapper .banner .imageLis {
    position: absolute;
    top: 470px;
    left: 58%;
    width: 110px;
    height: 20px;
}

.banner .imageLis ul {
    display: flex;
}

.banner .imageLis ul li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    margin: 4px 5px;
}

.banner .images li {
    display: none;
    transition-duration: 2s;
}

.bannerImage .towButton p {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-size: 30px;
    line-height: 42px;
    display: none;
}

.bannerImage .towButton .leftButton {
    position: absolute;
    top: 50%;
    margin-top: -22px;
    left: 270px;
}

.bannerImage .towButton .rightButton {
    position: absolute;
    top: 50%;
    margin-top: -22px;
    right: 20px;
}

.leftNave {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    width: 250px;
    height: 500px;
    background: rgba(0, 0, 0, 0.8);
}

.leftNave ul {
    display: flex;
    flex-direction: column;
}

.leftNave ul li {
    height: 50px;
    font-size: 14px;
    display: flex;
    padding-left: 20px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    padding-left: 35px;
}

.leftNave ul h4 {
    font-weight: 400;
    font-size: 16px;
}

.leftNave ul span {
    padding-left: 5px;
    padding-top: 1px;
    font-size: 14px;
    margin-top: 1px;
}

.layer {
    width: 990px;
    height: 500px;
    background: hsla(0, 0%, 100%, 0.8);
    position: absolute;
    left: 250px;
    top: 0;
    padding: 0 15px;
    z-index: 1;
    display: none;
}

.layer h4 {
    width: 960px;
    height: 82px;
    font-size: 20px;
    color: #333;
    line-height: 82px;
}

.layer h4 span {
    font-size: 16px;
    color: #666;
}

.layer ul {
    width: 960px;
    height: 405px;
    display: flex;
    flex-wrap: wrap;
    /* overflow: hidden; */
}

.layer ul li {
    width: 310px;
    height: 120px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 18px;
    background-color: #fff;
    display: flex;
}

.layer ul a {
    width: 100%;
    height: 100%;
    position: relative;
}

.layer ul a img {
    width: 95px;
    height: 95px;
    margin-top: 12px;
    margin-left: 12px;
    display: inline-block;
}

.layer ul p {
    position: absolute;
}

.layer ul p:nth-of-type(1) {
    color: #666;
    font-size: 16px;
    top: 20px;
    left: 120px;
}

.layer p:nth-of-type(2) {
    font-size: 14px;
    color: #999;
    top: 65px;
    left: 120px;
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layer ul p:nth-of-type(3) {
    color: #cf4444;
    font-size: 22px;
    top: 85px;
    left: 120px;
}

.layer ul a:hover {
    background-color: #e3f9f4;
}

/** 新鲜好物公共区域样式 **/
.panel .panelHeader {
    height: 115px;
    padding: 40px 0;
}

.panel .panelHeader h3 {
    height: 35px;
    line-height: 35px;
    margin-left: 6px;
    font-size: 32px;
    font-weight: 400;
    color: #333;
    float: left;
}

.panel .panelHeader small {
    margin-left: 22px;
    font-size: 16px;
    color: #999;
}

.panel .panelHeader .more {
    line-height: 1;
    margin-top: 14px;
    font-size: 16px;
    color: #999;
    float: right;
}

.panel .panelHeader .more:hover {
    color: #27BA9B;
}

/* .panel .panelHeader .more i {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
    background-position: 8px -106px;
} */

.panel .panelHeader .tabsBar {
    height: 35px;
    padding-top: 10px;
    font-size: 16px;
    margin-right: 80px;
    float: right;
}

.panel .panelHeader .tabsBar a {
    padding: 2px 8px;
    margin-left: 5px;
    border-radius: 2px;
}

.panel .panelHeader .tabsBar a:hover,
.panel .panelHeader .tabsBar a.active {
    background-color: #27BA9B;
    color: #fff;
}

.panel .panelGoods1 {
    text-align: justify;
    font-size: 0;
}

/* .panel .panelGoods1:after {
    content: "";
    display: inline-block;
    width: 306px;
    height: 0;
} */

.panel .panelGoods1 a {
    display: inline-block;
    width: 306px;
    height: 406px;
    text-align: center;
    margin-right: 4px;
}

.panel .panelGoods1 img {
    width: 306px;
    height: 306px;
    object-fit: contain
}


/* 分类商品公共区域样式 */

.panel .panelGoods2 {
    height: 610px;
}

.panel .panelGoods2 li {
    width: 240px;
    height: 300px;
    padding-top: 10px;
    margin-left: 10px;
    background-color: #fff;
    border: 1px solid #fff;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    float: left;
}

.panel .panelGoods2 .picture {
    width: 100%;
    height: 610px;
    object-fit: cover;

}

.panel .panelGoods2 li:hover {
    border-color: #27BA9B;
}

.panel .panelGoods2 li:hover .extra {
    bottom: 0;
}

.panel .panelGoods2 li:first-child {
    height: 610px;
    padding-top: 0;
    margin-left: 0;
    border: 0;
}

.panel .panelGoods2 li:nth-last-child(-n + 4) {
    margin-top: 10px;
}

.panel .panelGoods2 a {
    display: block;
}

.panel .panelGoods2 .imgBox {
    width: 230px;
    height: 160px;
    padding: 0 33px;
    text-align: center;
    margin: 0 auto;
    display: table-cell;
    vertical-align: middle;
}

.panel .panelGoods2 .meta {
    height: 130px;
    line-height: 1.5;
    padding: 3px 25px 0;
    font-size: 16px;
    position: relative;
}

.panel .panelGoods2 .name {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-left: 12px;
}

.panel .panelGoods2 .flag {
    margin-left: 12px;
    margin-top: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #666;
}

.panel .panelGoods2 .price {
    font-size: 22px;
    color: #CF4444;
    position: absolute;
    bottom: 10px;
}

.panel .panelGoods2 .price span {
    font-size: 20px;
    margin-top: 10px;
    color: #cf4444;
    margin-left: 10px;

}

.panel .panelGoods2 .extra {
    width: 100%;
    height: 86px;
    padding-top: 10px;
    transition: bottom 0.3s;
    background-color: #27BA9B;
    position: absolute;
    bottom: -86px;
}

.panel .panelGoods2 .extra span {
    display: block;
    width: 124px;
    line-height: 1;
    padding: 9px 0 8px;
    margin: 0 auto;
    text-align: center;
    font-size: 19px;
    color: #fff;
}

.panel .panelGoods2 .extra span:last-child {
    font-size: 13px;
    border-top: 1px solid #fff;
}

.panel .panelGoods2 .label {
    position: absolute;
    left: 0;
    bottom: 325px;
    width: 188px;
    height: 66px;
    text-align: center;
    line-height: 66px;
    color: #fff;
    font-size: 17px;
    border-radius: 0 2px 2px 0;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
}

.panel .panelGoods2 .label span:first-child {
    display: block;
    width: 76px;
    background-color: #000;
}

.panel .panelGoods2 .label span:last-child {
    width: 112px;
    line-height: 1.4;
    transform: translate(0, -50%);
    position: absolute;
    left: 76px;
    right: 0;
    top: 50%;
}

/* 新鲜好物模块 */

.goodsNew {
    background-color: #fff;
    text-align: center;
}

.goodsNew .panelGoods1 a {
    transition: 0.5s;
    position: relative;
    top: 0;
    background: #f0f9f4;
    margin-right: 4px;
}

.goodsNew .panelGoods1 a:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    top: -3px;
}

.goodsNew .panelGoods1 .name {
    display: inline-block;
    width: 100%;
    font-size: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 12px 30px 0 30px;
}

.goodsNew .panelGoods1 .price {
    color: #CF4444;
    font-size: 22px;
    padding: 10px 30px 0 30px;
    text-align: center;
    display: block;
}

.goodsNew .panelGoods1 small {
    font-size: 16px;
}

/* 人气推荐模块 */
.goodsPopular {
    padding-bottom: 42px;
    background-color: rgb(255, 255, 255);
}

.goodsPopular .panelGoods1 a {
    transition: 0.5s;
}

.goodsPopular .panelGoods1 a:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translate(0, -3px);
}

.goodsPopular .panelGoods1 .title {
    display: inline-block;
    width: 100%;
    line-height: 1;
    margin: 20px 0 16px;
    font-size: 22px;
}

.goodsPopular .panelGoods1 .alt {
    font-size: 18px;
    color: #999;
}


/* 热门品牌模块 */
.goodsBrand {
    padding-bottom: 25px;
    /* background-color: #fff; */
}

.goodsBrand .pageBar {
    float: right;
}

.goodsBrand .pageBar a {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 1;
    margin-top: 10px;
    background-color: #ccc;
}

/* 调整左边箭头位置 */
.goodsBrand .pageBar .prev {
    margin-right: 5px;
    color: #fff;
    padding-left: 4px;
    cursor: pointer;
    text-align: center;
    line-height: 20px;
}

/* 右箭头 */
.goodsBrand .pageBar .next {
    color: #fff;
    padding-left: 5px;
    background-color: #27BA9B;
    cursor: pointer;
    text-align: center;
    line-height: 20px;
}

.goodsBrand .goods1,
.goodsBrand .goods2 {
    height: 305px;
}

.goodsBrand .goods1 li,
.goodsBrand .goods2 li {
    float: left;
    font-size: 0px;
}

.goodsBrand .goods1 a,
.goodsBrand .goods2 a {
    margin-right: 10px;
}

.goodsBrand .goods1 a img,
.goodsBrand .goods2 a img {
    width: 240px;
    height: 305px;
}

.goodsBrand .goods1 a:last-child,
.goodsBrand .goods2 a:last-child {
    margin-right: 0;
}


/* 居家 */
.goodsCategory {
    padding-bottom: 20px;
    background-color: #fff;
}

/* 最新专题 */
.goodsTopic {
    background-color: #f5f5f5;
    padding-bottom: 30px;
}

.goodsTopic li {
    width: 406px;
    margin-left: 11px;
    transition: 0.5s;
    float: left;
    background: white;
}

.goodsTopic li:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translate(0, -3px);
}

.goodsTopic li:first-child {
    margin-left: 0;
}

.goodsTopic li a {
    display: block;
    height: 287px;
    position: relative;
}

.goodsTopic .meta {
    width: 100%;
    height: 100%;
    color: #fff;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    position: absolute;
    bottom: 0;
}

.goodsTopic .meta .title {
    width: 300px;
    height: 70px;
    padding-left: 16px;
    font-size: 22px;
    position: absolute;
    bottom: 0px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.goodsTopic .meta .title small {
    display: block;
    font-size: 19px;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.goodsTopic .meta .price {
    position: absolute;
    bottom: 25px;
    right: 16px;
    display: block;
    line-height: 1;
    padding: 4px 8px 4px 7px;
    color: #CF4444;
    font-size: 17px;
    background-color: #fff;
    border-radius: 2px;
}

.goodsTopic .meta .price small {
    font-size: 15px;
}

.goodsTopic .social {
    height: 70px;
    line-height: 70px;
    padding: 0 20px;
    font-size: 16px;
}

.goodsTopic .social i {
    display: inline-block;
    width: 15px;
    height: 14px;
    margin-right: 5px;
    position: relative;
    /* top: -2px; */
}

.goodsTopic .social .like,
.goodsTopic .social .liked,
.goodsTopic .social .view {
    float: left;
    margin-right: 25px;
}

.goodsTopic .social .reply {
    float: right;
}